home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
Libraries
/
Apache 1.0
/
cgi-bin
/
archie
next >
Wrap
Text File
|
1995-12-04
|
379b
|
28 lines
#!/bin/sh
ARCHIE=/usr/local/bin/archie
echo Content-type: text/html
echo
if [ -x $ARCHIE ]; then
if [ $# = 0 ]; then
cat << EOM
<TITLE>Archie Gateway</TITLE>
<H1>Archie Gateway</H1>
<ISINDEX>
This is a gateway to archie. Type search query in your browser's search
dialog.<P>
EOM
else
echo \<PRE\>
$ARCHIE "$*"
fi
else
echo Cannot find archie on this system.
fi